﻿@{
    Layout = null;
}


<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0035)/Home/Loginlogin.htm -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <script type="text/javascript"  charset="utf-8" src="~/img/login_img/pushData.htm"></script>
    <title>酒帝网-白酒、红酒、洋酒、保健酒、黄酒、酒具官方旗舰店</title>
    <link href="~/css/login_css/base.css" type="text/css" rel="stylesheet" />
    <link href="~/css/login_css/reg-login.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript"  src="~/js/login_js/visittrack.min.js"></script>
    <script type="text/javascript"  src="~/js/login_js/rt.js"></script>
    <script type="text/javascript"  src="~/js/login_js/adw.js"></script>
    <script type="text/javascript"  src="~/js/login_js/fm.js"></script>
    <script type="" src="~/js/login_js/jquery.min.js"></script>
    <script type="" src="~/js/login_js/reg-login.js"></script>
    <script type="" src="~/js/login_js/analytics.js"></script>
    <script type="" src="~/js/login_js/base.js"></script>
    <!-- 同盾测试
    <script type="text/javascript">
        (function() {
            var sessionId = getCookie('PTOKEN');
            _fmOpt = {
                partner: 'jiuxian',
                appName: 'jiuxian_web',
                token: sessionId,
                fpHost: 'https://fptest.fraudmetrix.cn',
                staticHost: 'statictest.fraudmetrix.cn',
                tcpHost: 'fptest.fraudmetrix.cn',
                wsHost: 'fptest.fraudmetrix.cn:9090'
            };
            var cimg = new Image(1,1);
            cimg.onload = function() {
                _fmOpt.imgLoaded = true;
            };
            cimg.src = "https://fptest.fraudmetrix.cn/fp/clear.png?partnerCode=jiuxian&appName=jiuxian_web&tokenId=" + _fmOpt.token;
            var fm = document.createElement('script');
            fm.type = 'text/javascript';
            fm.async = true;
            fm.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'statictest.fraudmetrix.cn/fm.js?ver=0.1&t=' + (new Date().getTime()/3600000).toFixed(0);
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(fm, s);
        })();
    </script>
    -->
    <!-- 同盾生产 -->
    <script type="text/javascript">
    (function() {
		var sessionId = getCookie('PTOKEN');
        _fmOpt = {
            partner: 'jiuxian',
            appName: 'jiuxian_web',
            token: sessionId        };
        var cimg = new Image(1,1);
        cimg.onload = function() {
            _fmOpt.imgLoaded = true;
        };
        cimg.src = "https://fp.fraudmetrix.cn/fp/clear.png?partnerCode=jiuxian&appName=jiuxian_web&tokenId=" + _fmOpt.token;
        var fm = document.createElement('script'); fm.type = 'text/javascript'; fm.async = true;
        fm.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.fraudmetrix.cn/fm.js?ver=0.1&t=' + (new Date().getTime()/3600000).toFixed(0);
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(fm, s);
    })();
    </script>

    <!--易博DSP埋码-->
    <script type="text/javascript">
try{
var _adwq = _adwq || [];
 _adwq.push(['_setAccount', 'xmbmx']);
 _adwq.push(['_setDomainName', '.jiuxian.com']);
 _adwq.push(['_trackPageview']);

 (function() {
 var adw = document.createElement('script');
 adw.type = 'text/javascript';
 adw.async = true;
 adw.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://s') + '.emarbox.com/js/adw.js';
 var s = document.getElementsByTagName('script')[0];
 s.parentNode.insertBefore(adw, s);
 })();
}catch(e){}
    </script>
</head>
<body>
    <div style="position: absolute; bottom: 0px;"><object type="application/x-shockwave-flash" wmode="transparent" data="https://static.fraudmetrix.cn/clear.swf?v1=2" width="1" height="1" id="fmFlash" style="visibility:hidden;"><param name="movie" value="https://static.fraudmetrix.cn/clear.swf?v1=2"/><param name="allowScriptAccess" value="always"/><param name="flashVars" value="sessionId=CDBA0A584A730F40464F3DCAC71C9D69&amp;partnerCode=jiuxian&amp;serviceUrl=fpflash.fraudmetrix.cn"/></object></div>
    <div class="jx-wrap">
        <!--头部-->
        <div class="jx-top-header">
            <div class="jx-top-head">
                <div class="jx-logo">
                    <p style="background:url(../../img/login_img/logo.png?version=20160401) no-repeat;" class="jx-index">
                        <a  href="#"></a>
                    </p>
                    <a class="jx-topic"><img src="~/img/login_img/slogan.jpg" alt=""/></a>
                </div>
                <div class="jx-head-nav">
                    <div class="jx-head-icon">
                        <span>帮助中心</span>
                        <i class="jx-jt"></i>
                    </div>
                    <div class="jx-head-pop">
                        <ul>
                            <li><a href="#" >配送说明</a></li>
                            <li><a href="#" >支付方式</a></li>
                            <li><a href="#" >售后服务</a></li>
                            <li><a href="#" >企业客户</a></li>
                        </ul>
                    </div>
                </div>
                <div class="jx-reg">欢迎来到酒帝网！<a id="regOrLogin" href="/Home/Loginregister.htm">免费注册</a></div>
            </div>
        </div>
        <!--头部 结束-->
        <!--内容开始-->
        <script type="" src="~/js/login_js/security.js"></script>
        <script type="text/javascript">
<!-- 登录页面 -->
(function (d) {
(window.bd_cpro_rtid = window.bd_cpro_rtid || []).push({id:"P1TknHT"});
var s = d.createElement("script");s.type = "text/javascript";s.async = true;s.src = location.protocol + "//cpro.baidu.com/cpro/ui/rt.js";
var s0 = d.getElementsByTagName("script")[0];s0.parentNode.insertBefore(s, s0);
})(document);
        </script>
        <script type="">
$("#userName").siblings('.filter').find('p').hide();
window.onload = function(){
	/*
	var uname0 = $("#userName").val();
	var pwd0 = $("#password").val();

	if(uname0 != '' && pwd0!='')
	{
	$("#userName").siblings('.filter').find('p').hide();
	$("#password").siblings('.filter').find('p').hide();
	}
	*/
}

function CookieEnable(){
	var result= false ;
	if (navigator.cookiesEnabled) return true ;
	document.cookie = "testcookie=yes;" ;
	var cookieSet = document.cookie;
	if (cookieSet.indexOf( "testcookie=yes" ) > -1) result= true ;
	document.cookie = "" ;
	return result;
}

$(function(){
	if (!CookieEnable()){
		alert( "对不起，您的浏览器的Cookie功能被禁用，请开启后刷新重试" );
	}

	//记录用户名
	if(getCookie('jx_uname')!='')
	{
	$('#userName').val(getCookie('jx_uname'));
	}
	if(getCookie('jx_uname')=='')
	{
		$("#userName").siblings('.filter').find('p').show();
	}
	if($('#userName').val()!='')
	{
		$("#userName").siblings('.filter').find('p').hide();
		$('.judgeDel').first().show();
	}
	if($('#password').val()!='')
	{
		$("#password").siblings('.filter').find('p').hide();
		$('.judgeDel').last().show();
	}
	if($('#password').val()=='')
	{
		$("#password").siblings('.filter').find('p').show();
	}

	$(".filter").click(function(){
		$(this).next("input").focus();
	})
    if (navigator.userAgent.toLowerCase().indexOf('chrome') >= 0) {
        document.getElementById('userName').autocomplete = 'off';
        document.getElementById('password').autocomplete = 'off';
    }


	var isCaptcha = 'yes';
	if(isCaptcha=="yes"){
		//登陆错误次数超过3次，验证码出来
		$("#validcaptcha").show();
	}

	//页面加载时，更新页面的标题
	$("#regOrLogin").text("免费注册");
	$("#regOrLogin").attr("href","/Home/Loginregister.htm");

	//用户名登陆
	$('.userLogin').bind('click',function(){
		$('.loginMobile').hide();
		$('.loginUsual').show();
		$(this).siblings('a').show();
		$(this).hide();
	})

	$('#userName').bind('focus',function(){
		$(this).siblings('.filter').find('p').hide();
		$(this).siblings('.filter').find('.judge').hide();
		$(this).siblings('.mistakeTip').hide();
		$(this).removeClass('on');
	});

	$('#userName').bind('blur',function(){
		var flag1=/\S{1,20}/g;
		var flag2=/[a-zA-Z0-9_-]/g;
		var flag3 = /^[^\s]{4,50}$/;
		var uname = jQuery.trim($(this).val());
		if( uname ==''){
			$(this).siblings('.filter').find('p').show();
			$(this).parent().addClass('wrong');
			$(this).siblings('.filter').find('.judge').show();
			$(this).siblings('.mistakeTip').text("请输入用户名/邮箱/手机号").show();
			$(this).addClass('on');
			$('#userName').val("");
		}else{
			$(this).siblings('.filter').find('p').hide();
			$(this).parent().removeClass('wrong');
			$(this).siblings('.filter').find('.judge').show();
			$(this).siblings('.mistakeTip').hide();
			$(this).removeClass('on');
		}
	});



	$('#password').bind('focus',function(){
		$(this).siblings('.filter').find('p').hide();
		$(this).siblings('.filter').find('.judge').hide();
		$(this).siblings('.mistakeTip').hide();
		$(this).removeClass('on');
	})
	$('#password').bind('blur',function(){
		if($(this).val()=='')
		{
			$(this).siblings('.filter').find('p').show();
			$(this).siblings('.filter').find('.judge').show();
			$(this).parent().addClass('wrong');
			$(this).siblings('.mistakeTip').text("请输入密码").show();
			$(this).addClass('on');
		}else{
			$(this).siblings('.filter').find('p').hide();
			$(this).siblings('.filter').find('.judge').show();
			$(this).parent().removeClass('wrong');
			$(this).siblings('.mistakeTip').hide();
			$(this).removeClass('on');
			//给密码赋值
			var pwd = $("#password").val();
			var modulus = $("#modulus").val();
			var exponent = $("#exponent").val();
			var publicKey = RSAUtils.getKeyPair(exponent, '',modulus);
        	$('#pwd').val(RSAUtils.encryptedString(publicKey, pwd));
		}
	})

	$('#verification').bind('focus',function(){
		$(this).siblings('.filter').find('p').hide();
		$(this).siblings('.filter').find('.judge').hide();
		$(this).siblings('.mistakeTip').hide();
		$(this).removeClass('on');
	})
	$('#verification').bind('blur',function(){
		if(jQuery.trim($(this).val())=='')
		{
			$(this).siblings('.filter').find('p').show();
			$(this).siblings('.filter').find('.judge').show();
			$(this).addClass('on');
			$(this).siblings('.mistakeTip').text('请输入验证码').show();
			$(this).val('');
		}else{
			$(this).siblings('.filter').find('p').hide();
			$(this).siblings('.filter').find('.judge').show();
			$(this).parent().removeClass('wrong');
			$(this).removeClass('on');
			$(this).siblings('.mistakeTip').text('').hide();
		}
	})

	$('#save').bind('click',function(){
		if (!CookieEnable()){
			alert( "对不起，您的浏览器的Cookie功能被禁用，请开启后刷新重试" );
			return false;
		}else{
			$('.loginUsual input.text').each(function(){
				if($(this).val()=='')
				{
					$(this).siblings('.filter').find('p').show();
					$(this).siblings('.filter').find('.judge').show();
					$(this).parent().addClass('wrong');
					$(this).siblings('.mistakeTip').show();
					$(this).addClass('on');
				}
			});
			var unameVaild = $("#userName").parent().hasClass('wrong');
			var pwdVaild = $("#password").parent().hasClass('wrong');
			if(!unameVaild && !pwdVaild){//提交表单
				//给密码赋值
				var pwd = $("#password").val();
				var modulus = $("#modulus").val();
				var exponent = $("#exponent").val();
				var publicKey = RSAUtils.getKeyPair(exponent, '',modulus);
	        	$('#pwd').val(RSAUtils.encryptedString(publicKey, pwd));

				//判断是否有验证码，如果有验证，先验证验证码，之后提交
				if($("#validcaptcha").css('display')!='none'){
					var verification = $("#verification").val();
					if(verification==''){
						$("#verification").siblings('.filter').find('p').show();
	        			//$("#verification").siblings('.filter').find('.judge').show();
	        			$("#verification").addClass('on');
	        			$("#verification").siblings('.mistakeTip').text("请输入验证码").show();
						jQuery("#captchaImage").attr("src", "/public/captchaimg.htm?timestamp" + (new Date()).valueOf());
						return false;
					}
				}
				jQuery.ajax({
	    		 	type:'post',
	    			url:'/newlogin.htm',
	    		 	data:$("#loginform").serialize(),
	    		 	dataType:'json',
	    		 	cache:false,
	    		 	success:function(data){
						if(data!=null&&data.action_status==1){
							//设置记录用户名cookie
							setCookie("jx_uname",$("#userName").val(),7);
							var fromUrl = $("#fromUrl").val();
							var bindUrl = "http://member.jiuxian.com/myaccount/verify_phone.htm";

							//判断登录成功的用户是否已经绑定手机，t代表已绑定，f代表未绑定。
							if(data!=null&&data.action_msgs=="t"){
								$(".modelBg").show();
								$("#bindPop1").show();

								if(fromUrl!=""){
									$('#bindSub').attr("href", fromUrl);
								}else{
									$('#bindSub').attr("href", "http://www.jiuxian.com");
								}
							}else if(data!=null&&data.action_msgs=="f"){

								$(".modelBg").show();
								$("#bindPop").show();

								if(fromUrl!="")
								{
									bindUrl = bindUrl+"?fromUrl="+fromUrl;
								}
								$('#bindUrl').attr("href", bindUrl);

							}else{
								window.location=domain_detail;
							}


						}else if(data!=null&&data.action_status==2){
							var errormsg =  data.action_msgs[0];
							$("#userName").siblings('.filter').find('.judge').show();
							$("#userName").parent().addClass('wrong');
							$("#userName").siblings('.mistakeTip').text(errormsg);
							$("#userName").siblings('.mistakeTip').show();
							$("#userName").addClass('on');
							if(data.isCaptcha=="yes"){
								//登陆错误次数超过3次，验证码出来
								$("#validcaptcha").show();
							}
							jQuery("#captchaImage").attr("src", "/public/captchaimg.htm?timestamp" + (new Date()).valueOf());
						}else if(data!=null&&data.action_status==3){
							var errormsg =  data.action_msgs[0];
							$("#password").siblings('.filter').find('.judge').show();
							$("#password").parent().addClass('wrong');
							$("#password").siblings('.mistakeTip').text(errormsg);
							$("#password").siblings('.mistakeTip').show();
							//密码错误时灰色X是否显示位置
							$('.judgeDel').last().hide();
							if($("#password").val()!="")
							{
								$("#password").bind('focus',function(){
									$('.judgeDel').last().show();
									if($("#password").val()=="")
										{
										$('.judgeDel').last().hide();
										}
								});
							}

							$("#password").addClass('on');
							if(data.isCaptcha=="yes"){
								//登陆错误次数超过3次，验证码出来
								$("#validcaptcha").show();
								$("#verification").siblings('.filter').find('p').hide();
								$("#verification").siblings('.filter').find('.judge').show();
								$("#verification").parent().removeClass('wrong');
	                			$("#verification").removeClass('on');
	                			$("#verification").siblings('.mistakeTip').text('请输入验证码').hide();
							}
							jQuery("#captchaImage").attr("src", "/public/captchaimg.htm?timestamp" + (new Date()).valueOf());
						}else if(data!=null&&data.action_status==5){
							//设置记录用户名cookie
							setCookie("jx_uname",$("#userName").val(),7);
							window.location.href="http://shop.jiuxian.com";

						}else if(data!=null&&data.action_status==6){
							var msg = data.action_msgs[0];
							jQuery("#captchaImage").attr("src", "/public/captchaimg.htm?timestamp" + (new Date()).valueOf());
							$("#validcaptcha").show();
							$("#verification").parent().addClass('wrong');
							$("#verification").siblings('.filter').find('.judge').show();
							$("#verification").siblings('.mistakeTip').text(msg).show();
							$("#verification").addClass('on');
						}else if(data.code=='999'){
	    						$("#password").siblings('.filter').find('.judge').show();
								$("#password").parent().addClass('wrong');
								$("#password").siblings('.mistakeTip').text('非法字符，请重新输入');
								$("#password").siblings('.mistakeTip').show();
								$("#password").addClass('on');
						}else if(data!=null&&data.action_status==888){
								window.location.href=data.action_msgs[0];
						}else{
							var msg = data.action_msgs[0];
							$("#validcaptcha").show();
							$("#verification").parent().addClass('wrong');
							$("#verification").siblings('.filter').find('.judge').show();
							$("#verification").siblings('.mistakeTip').text(msg).show();
							$("#verification").addClass('on');
							jQuery("#captchaImage").attr("src", "/public/captchaimg.htm?timestamp" + (new Date()).valueOf());
						}
	    			},
	    			error:function(e) {
					}
				});
			}
		}

	});


	document.onkeydown=function(event){
       var e = event || window.event || arguments.callee.caller.arguments[0];
       if(e && e.keyCode==13){
           if($(".loginMobile").css("display")=="block")
			 {
			 	$(".loginMobile").find(".enterFrame").eq(1).find(".filter p").hide();
				$(".loginUsual").find(".enterFrame").eq(0).find(".filter p").hide();
				$('#saveLogin').trigger('click');
			 }
			 else
			 {
			 	$(".loginUsual").find(".enterFrame").eq(1).find(".filter p").hide();
				$(".loginUsual").find(".enterFrame").eq(0).find(".filter p").hide();
			 	$('#save').trigger('click');
			 }
       }
    };

	$('#_captchaImage >i').bind('click',function(){
		jQuery("#captchaImage").attr("src", "/public/captchaimg.htm?timestamp" + (new Date()).valueOf());
	});

	//手机登陆
	$('.mobileLogin').bind('click',function(){
		$('.loginMobile').show();
		$('.loginUsual').hide();
		$(this).siblings('a').show();
		$(this).hide();
	});

	$('#iphone').bind('focus',function(){
		$(this).siblings('.filter').find('p').hide();
		$(this).siblings('.filter').find('.judge').hide();
		$(this).siblings('.mistakeTip').hide();
		$(this).removeClass('on');
	});

	$('#iphone').bind('blur',function(){
		var pattern=/^(13|14|15|18|17)[0-9]{9}$/;
		var iValue=jQuery.trim($(this).val());
		if(iValue=='')
		{
			$(this).siblings('.filter').find('p').show();
			$(this).parent().addClass('wrong');
			$(this).siblings('.filter').find('.judge').show();
			$(this).siblings('.mistakeTip').show();
			$(this).siblings('.mistakeTip').text('请输入手机号');
			$('#iphone').val('');
			$(this).addClass('on');
		}
		else if(!pattern.test(iValue))
		{
			$(this).siblings('.filter').find('p').hide();
			$(this).parent().addClass('wrong');
			$(this).siblings('.filter').find('.judge').show();
			$(this).siblings('.mistakeTip').show();
			$(this).siblings('.mistakeTip').text('请输入正确的手机号');
			$(this).addClass('on');
		}
		else
		{
			$(this).siblings('.filter').find('p').hide();
			$(this).siblings('.filter').find('.judge').show();
			$(this).parent().removeClass('wrong');
			$(this).siblings('.mistakeTip').hide();
			$(this).removeClass('on');
		}
	})

	$('#check').bind('focus',function(){
		$(this).siblings('.filter').find('p').hide();
		$(this).siblings('.filter').find('.judge').hide();
		$(this).siblings('.mistakeTip').hide();
		$(this).removeClass('on');
	});

	$('#check').bind('blur',function(){
		if(jQuery.trim($(this).val())=='')
		{
			$(this).siblings('.filter').find('p').show();
			$(this).siblings('.filter').parent().addClass('wrong');
			$(this).siblings('.filter').find('.judge').show();
			$(this).addClass('on');
			$(this).siblings('.mistakeTip').text("请输入校验码").show();
		}else{
			$(this).siblings('.filter').find('p').hide();
			$(this).siblings('.filter').parent().removeClass('wrong');
			$(this).siblings('.filter').find('.judge').show();
			$(this).removeClass('on');
			$(this).siblings('.mistakeTip').hide();
		}
	});

	$('#userName,#password').bind('keyup',function(){
		if($(this).val()==''){
			$(this).parent().find('.judgeDel').hide();
		}else{
			$(this).parent().find('.judgeDel').show();
		}
	});

	$('.judgeDel').bind('click',function(){

		$(this).parent().find('.judgeDel').hide();
		$(this).parent().next().val('').focus();

	});


	$('#saveLogin').bind('click',function(){
		if (!CookieEnable()){
			alert( "对不起，您的浏览器的Cookie功能被禁用，请开启后刷新重试" );
			return false;
		}else{
			$('.loginMobile input.text').each(function(){
				if($(this).val()=='')
				{
					$(this).siblings('.filter').find('p').show();
					$(this).siblings('.filter').find('.judge').show();
					$(this).parent().addClass('wrong');
					$(this).siblings('.mistakeTip').show();
					$(this).addClass('on');
				}
			});
			//ga第三方监控代码
		  	//ga('send','event','getMsgCode','button','getMsg');
			var phone = $("#iphone").parent().hasClass('wrong');
			var randomVaild = $("#check").parent().hasClass('wrong');
			if(!phone && !randomVaild){//提交表单
				jQuery.ajax({
	    		 	type:'post',
	    			url:'/newlogin_mobile.htm',
	    		 	data:{phone:$("#iphone").val(),randomPwd:$("#check").val()},
	    		 	dataType:'json',
	    		 	cache:false,
	    		 	success:function(data){
						if(data!=null&&data.action_status==1){
							var fromUrl = $("#fromUrl").val();
							if(fromUrl!=""){
								window.location=fromUrl;
							}else{
								window.location=domain_detail;
							}
						}else if(data!=null&&data.action_status==0){
							var msg = data.action_msgs[0];
							$("#check").parent().addClass('wrong');
							$("#check").siblings('.filter').find('.judge').show();
							$("#check").siblings('.mistakeTip').text(msg).show();
							$("#check").addClass('on');
						}else if(data.code=='999'){
								$("#check").parent().addClass('wrong');
								$("#check").siblings('.filter').find('.judge').show();
								$("#check").siblings('.mistakeTip').text('非法字符，请重新输入').show();
								$("#check").addClass('on');
						}else if(data!=null&&data.action_status==888){
								window.location.href=data.action_msgs[0];
						}
	    			},
	    			error:function(e) {
					}
				});
			}
		}
	});
	// 弹窗关闭，点击下次再说。
	$(".bindTitle .close,.bindBtn .bindNext").bind('click',function(){
		$(".modelBg").hide();
		$(this).parents(".bindPop").hide();
		var fromUrl = $("#fromUrl").val();
		if(fromUrl!="")
		{
			window.location=fromUrl;
		}else{
			window.location=domain_detail;
		}

	})

});
        </script>


        <script type="text/javascript">
            
/*根据名字获得Cookie值*/
function getCookie(c_name) {
    if (document.cookie.length > 0) {
        c_start = document.cookie.indexOf(c_name + "=");
        if (c_start != -1) {
            c_start = c_start + c_name.length + 1;
            c_end = document.cookie.indexOf(";", c_start);
            if (c_end == -1) c_end = document.cookie.length;
            return unescape(document.cookie.substring(c_start, c_end));
        }
    }
    return "";
}

/* 设置Cookie的值 */
function setCookie(c_name, value, expiredays) {
    var exdate = new Date();
    exdate.setDate(exdate.getDate() + expiredays);
    document.cookie = c_name + "=" + escape(value) +
((expiredays == null) ? "" : ";expires=" + exdate.toGMTString())  +";path=/;domain=jiuxian.com";
}
//删除cookie
function delCookie(name)
{
    var exp = new Date();
    exp.setTime(exp.getTime() - 1);
    var cval=getCookie(name);
    if(cval!=null) document.cookie= name + "="+cval+";expires="+exp.toGMTString();
}



        </script>
        <script>
            function LoginDo()
            {
                var UsersName = $("[name='UsersName']").val();
                var UsersPwd = $("[name='UsersPwd']").val();
                $.ajax({
                    type: "post",
                    url: "/Home/LoginDo",
                    data: {
                        UsersName: UsersName,
                        UsersPwd:UsersPwd
                    },
                    success: function (dd)
                    {
                        if (dd!= null) {
                            var str = "UsersName=" + escape(dd.UsersName);
                            var st = "UsersID=" + escape(dd.UsersID);
                            document.cookie = str;
                            document.cookie = st;
                            alert("登陆成功");
                            location.href = '/Home/Index';
                        }
                        else {
                            alert("账号或密码有误");
                            location.href = '/Home/Login';
                        }
                    }
                })
            }
        </script>
        <form id="loginform" method="post" action="/Home/LoginDo">
            <!--内容-->
            <div class="jx-main-bg">
                <div class="jx-main">
                    <div class="jx-content clearfix" style="height:450px;">
                        <div class="loginSideAd">
                            <selectloginlogo>
                                <img alt="" width="600" height="450" src="~/img/login_img/9e21e0de033e4df6b07547c18404e8d1.jpg" s="" />
                            </selectloginlogo>
                        </div>
                        <div class="loginCon">
                            <div class="loginTit clearfix">
                                <h1>欢迎登录</h1>
                                <!-- -->
                                <a href="#" class="mobileLogin">手机动态密码登录</a>
                                <a href="#" class="userLogin" style="display:none">普通方式登录</a>
                            </div>
                            <div class="loginType loginUsual">
                                <div class="Frame enterFrame">
                                    <div class="filter">
                                        <em class="userIconBox"><i class="userIcon"></i></em>
                                        <p style="display:none;">用户名/邮箱/手机号</p>
                                        <i class="judge" style="display: block;"></i>
                                        <i class="judgeDel" style="display: inline;"></i>
                                    </div>
                                    <input id="userName" class="text" type="text" name="UsersName" autocomplete="off" value="" />
                                    <div class="mistakeTip" style="display:none">请输入用户名/邮箱/手机号</div>
                                    <div class="mistakeTip02" style="display:none">请输入用户名/邮箱/手机号</div>
                                </div>
                                <div class="Frame enterFrame">
                                    <div class="filter">
                                        <em class="userIconBox"><i class="pwdIcon"></i></em>
                                        <p style="display: none;">密码</p>
                                        <i class="judge" style="display: block;"></i>
                                        <i class="judgeDel"></i>
                                    </div>
                                    <input maxlength="20" id="password" class="text" type="password" autocomplete="off" name="UsersPwd" onpaste="return false" />
                                    <input type="hidden" id="pwd" name="pwd" value="289edbb6971b5e32694eb547632b27d1eee38bbb48e4fcf6c546f3c8776a67335bc603ad80cf4b94b8ded752330cc7198d47d892ca329f1c4330026a387643a5a17f00b9cd46cb41558755b2568e6cf6e22bfbdab98ca7312f24c3fe099d0945bc1ad476be8578a3bf88745bb691c5903bb75aabd7ad03a7ae68345754e32413" />
                                    <div class="mistakeTip" style="display:none">请输入密码</div>
                                    <div class="mistakeTip02" style="display:none">请输入密码</div>
                                </div>
                                @*<div class="Frame yzFrame" id="validcaptcha">
                                    <div class="filter">
                                        <i class="yzIcon"></i>
                                        <p>验证码</p>
                                        <img class="yzm" id="captchaImage" src="~/img/login_img/captchaimg.htm" alt="" />
                                    </div>
                                    <input id="verification" class="text" type="text" name="j_captcha" size="8" maxlength="5" autocomplete="off" />
                                    <a class="refresh" id="_captchaImage" href="javascript:void(0)"><i></i></a>
                                    <div class="mistakeTip" style="display:none">请输入验证码</div>
                                </div>*@
                                <div class="loginBtn">
                                    <input name="bi_Usuallogin" type="button" onclick="LoginDo()" id="save" value="登  录" />
                                </div>
                                <div class="moreChoice clearfix">
                                    <div class="auto">
                                        <input type="checkbox" class="check" id="auto" name="remember" value="yes" />
                                        <label for="auto">自动登录</label>
                                    </div>
                                    <a class="freeReg" href="/Home/Register">免费注册</a><i class="forgetLine">|</i>
                                    <a class="forgetPwd" id="foget" href="/Home/Loginnewrecover_pwd.htm">忘记密码</a>
                                </div>
                            </div>
                            <div class="loginType loginMobile" style="display:none">
                                <div class="hmt-box">
                                    <p>中国大陆手机用户编辑短信获取验证码</p>
                                    <p>移动发送<span>JX</span>到<span>106902306999</span></p><p>联通发送<span>JX</span>到<span>10690453999</span></p><p>电信发送<span>JX</span>到<span>10690286999</span></p>
                                </div>
                                <div class="Frame enterFrame">
                                    <div class="filter">
                                        <i class="userIcon"></i>
                                        <p>手机号</p>
                                        <i class="judge"></i>
                                    </div>
                                    <input id="iphone" class="text" type="text" name="phone" autocomplete="off" />
                                    <div class="mistakeTip" style="display:none">请输入正确的手机号</div>
                                    <div class="mistakeTip02" style="display:none">请输入正确的手机号</div>
                                </div>
                                <div class="Frame enterFrame">
                                    <div class="filter">
                                        <i class="phoneIcon"></i>
                                        <p>校验码</p>
                                        <i class="judge"></i>
                                    </div>
                                    <input id="check" class="text" type="text" onpaste="return false" autocomplete="off" name="randomPwd" />
                                    <!--<a class="get"  href="#" />获取校验码</a>
                                <a class="getAlready"  href="#" style="display:none;" ><b>59</b>秒后重新获取</a>-->
                                    <div class="mistakeTip" style="display:none">请输入校验码</div>
                                </div>
                                <div class="loginBtn">
                                    @*<input name="bi_phoneDylogin" id="saveLogin" type="button" value="登  录" onclick="ga(&#39;send&#39;,&#39;event&#39;,&#39;getMsgCode&#39;,&#39;button&#39;,&#39;msgLogin&#39;)"/>*@
                                    <input name="bi_phoneDylogin" id="saveLogin" type="button" value="登  录" onclick="" />
                                </div>
                            </div>
                            <div class="cooperate">
                                <p>使用合作账号登录</p>
                                <div class="cooperateWay clearfix">
                                    <a class="qq" href="#"><i></i></a>
                                    <a class="sina" href="#"><i></i></a>
                                    <a class="aliPay" href="#" name="fastlogin"><i></i></a>
                                    <a class="baidu" href="#"><i></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <input type="hidden" value="#web.php" name="back_act" />
            <input type="hidden" id="fail_num" value="0" />
            <input type="hidden" id="fromUrl" name="from" value="#" />
            <input type="hidden" id="exponent" value="010001" />
            <input type="hidden" id="modulus" value="0096cb0ce0a468399c2400e8021b6be247a8fe0e37f8f8c310e75491d4fabd6cb2b4dcf49c4ef45c50a8d2adb2833930f844db0864ffa0ca4cb4225870cca85ac01be89db2807ec12fa95e42c59bb0dbf17d04db4fe609123105d2a8d4ffa86708bbd738d002eeec6643f6c85679fe23ad28225573b0669356ef2f7c8f73ce58c7" />
        </form>

        <!--绑定弹窗-->
        <div class="modelBg" style="display:none"></div>
        <div class="bindPop" id="bindPop" style="display:none">
            <div class="bindTitle">
                <h3><i></i><span>温馨提示</span></h3>
                <i class="close"></i>
            </div>
            <div class="bindInfo">
                <p>亲爱的会员，您目前的账户安全等级较低，<br/>为了让您的账户得到更好的保护，建议您尽早绑定手机号码！</p>
                <div class="pro">酒帝网不会以<span>订单异常、系统升级</span>等为由，通过电话、短信等方式要求您点击任何链接进行退款操作，如有提及中奖、折扣、索要验证码等问题，<span>请拨打客服电话：400-617-9999</span></div>
                <div class="bindBtn"><a href="#" id="bindUrl" class="bindNow">立即绑定</a><a href="#" class="bindNext">下次再说</a></div>
            </div>
        </div>
        <div class="bindPop bindPop1" id="bindPop1" style="display:none">
            <div class="bindTitle">
                <h3><i></i><span>温馨提示</span></h3>
                <i class="close"></i>
            </div>
            <div class="bindInfo">
                <div class="pro1">酒帝网不会以<span>订单异常、系统升级</span>等为由，通过电话、短信等方式要求您点击任何链接进行退款操作，如有提及中奖、折扣、索要验证码等问题，<span>请拨打客服电话：400-617-9999</span></div>
                <div class="bindBtn"><a href="#" class="bindSub" id="bindSub">确&nbsp;定</a></div>
            </div>
        </div>
        <!--绑定弹窗结束-->
        <!--内容结束-->
        <!--尾部开始-->
        <div class="jx-footer" style="height: 279px;">
            <div class="jx-foot">
                <p>© &nbsp;酒帝网&nbsp; 2011 jiuxian.com All &nbsp;Rights Reserved&nbsp;&nbsp;<a  href="/Home/Loginlogin.htm#">京ICP证110141号</a>&nbsp;&nbsp;京公网安备1101050188221</p>
                <p class="red">购买前请确认达到法定饮酒年龄！酒帝网不销售任何含酒精产品给18岁以下人士！</p>
            </div>
            <div class="copybot">
                <a class="a1"  href="#"></a><a class="a2"  href="#"></a><a class="a3"  href="#"></a><a class="a4"  href="#"></a><a class="a5"  href="#"></a>
            </div>
        </div>
        <!--尾部结束-->
        <!--99click(统计)-->
        <script type="text/javascript" src="~/js/login_js/o_code.js"></script>
        <script type="text/javascript">
(function (d) {
window._JX_INFO = window._JX_INFO || [];
_JX_INFO.push(["userId",getUserId()]);
_JX_INFO.push(["clientId",10000]);
var s = d.createElement("script");s.type = "text/javascript";s.async = true;s.src = domain_miscssl+"/js/visittrack.min.js";
var s0 = d.getElementsByTagName("script")[0];s0.parentNode.insertBefore(s, s0);
})(document);
//-->
        </script>
    </div>


    <iframe src="~/img/login_img/_cm.html" id="emar_box_pv" style="width: 1px; border: 0px; position: absolute; left: -100px; top: -100px; height: 1px;"></iframe>
</body>
</html>
